@import '@/uni.scss';
.container {
	width: 100%;
	padding-bottom: 136rpx;
	overflow: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	.userInfo {
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		.avatar {
			margin: 30rpx;
			width: 112rpx;
			height: 112rpx;
			background: $uni-bg-color;
			border-radius: 50%;
			overflow: hidden;
			display: flex;
			justify-content: center;
			align-items: center;
			> image {
				width: 100%;
				height: 100%;
			}
		}
		.midd {
			margin: 30rpx 0;
			flex: 1;
			display: flex;
			flex-direction: column;
			> text {
				color: #fff;
			}
			> .userName {
				font-weight: bold;
				font-size: 32rpx;
			}
			> .userLabel {
				margin-top: 10rpx;
				padding: 4rpx 12rpx;
				width: max-content;
				font-weight: 400;
				font-size: 24rpx;
				background: transparent;
				border-radius: 20rpx;
				border: 2rpx solid #fff;
			}
			> .labelBg {
				background: $xxf-gold;
				font-weight: bold;
			}
		}
		.right {
			margin: 30rpx;
			display: flex;
			flex-direction: row;
			justify-content: center;
			align-items: center;
			::v-deep.uni-icons {
				color: #fff !important;
			}
		}
	}
	.vip {
		width: 690rpx;
		height: 86rpx;
		background: $uni-main-color;
		border-radius: 20rpx 20rpx 0 0;
		overflow: hidden;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		.vipTxt {
			padding: 0 20rpx;
			font-weight: bold;
			font-size: 30rpx;
			color: #f4d598;
		}
		.vipBtn {
			padding: 4rpx 20rpx;
			margin: 0 20rpx;
			background: #f4d598;
			border-radius: 20rpx;
			display: flex;
			justify-content: center;
			align-items: center;
			> text {
				font-weight: 500;
				font-size: 26rpx;
				color: $uni-main-color;
			}
		}
	}

	.content {
		padding: 20rpx 0;
		width: 100%;
		flex: 1;
		background: $uni-bg-color;
		border-radius: 30rpx 30rpx 0 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		.countBox {
			margin: 10rpx 30rpx;
			width: 690rpx;
			height: 168rpx;
			background: #fff;
			border-radius: 20rpx;
			display: flex;
			flex-direction: row;
			justify-content: space-between;
			align-items: center;
			.countItem {
				width: 228rpx;
				height: 108rpx;
				border-right: 4rpx solid $uni-bg-color;
				display: flex;
				flex-direction: column;
				justify-content: center;
				> text:first-child {
					font-weight: 500;
					font-size: 36rpx;
					color: #000;
					text-align: center;
				}
				> text:last-child {
					margin-top: 20rpx;
					font-weight: 500;
					font-size: 24rpx;
					color: #6a6a6a;
					text-align: center;
				}
			}
			.countItem:last-child {
				border-right: none;
			}
		}
		.adminBox,
		.orderBox,
		.otherBox {
			margin: 20rpx 30rpx;
			width: 690rpx;
			background: #fff;
			border-radius: 20rpx;
			display: flex;
			flex-direction: column;
			align-items: center;
			.title {
				margin: 0 30rpx;
				width: 100%;
				height: 86rpx;
				display: flex;
				flex-direction: row;
				justify-content: space-between;
				align-items: center;
				> text:nth-child(1) {
					padding-left: 30rpx;
					font-weight: 400;
					font-size: 28rpx;
					color: $uni-main-color;
				}
				.allArrow {
					padding-right: 30rpx;
					display: flex;
					flex-direction: row;
					align-items: baseline;
					> text {
						padding-left: auto;
						font-weight: 400;
						font-size: 24rpx;
						color: $uni-secondary-color;
					}
				}
			}
			.itemView {
				padding-bottom: 20rpx;
				display: flex;
				flex-direction: row;
				flex-wrap: wrap;
				.item {
					padding: 16rpx 0;
					width: 230rpx;
					display: flex;
					flex-direction: column;
					align-items: center;
					> text {
						margin-top: 10rpx;
						font-weight: 400;
						font-size: 28rpx;
						color: $uni-main-color;
					}
				}
			}
		}
		.adminBox .itemView .item {
			position: relative;
			> text:first-child {
				font-weight: bold;
				font-size: 34rpx;
				color: $uni-primary;
			}
			> .shipping {
				width: 96rpx;
				height: 40rpx;
				display: flex;
				justify-content: center;
				align-items: center;
				position: absolute;
				top: 0;
				right: 0;
				border-radius: 30rpx 30rpx 30rpx 0;
				background: $xxf-red;
				> text {
					font-weight: bold;
					font-size: 24rpx;
					color: #fff;
				}
			}
		}
		.orderBox .itemView .item {
			position: relative;
			::v-deep.uni-icons {
				color: $uni-primary !important;
			}
			.dot {
				width: 12rpx;
				height: 12rpx;
				position: absolute;
				top: 12rpx;
				right: 72rpx;
				border-radius: 50%;
				background: $xxf-red;
			}
		}
		.otherBox .itemView .item {
			width: 170rpx;
			line-height: 1;
			background: #fff;
		}
	}
}
